WaitWindow~WaitWindow ["Window name"/dialog/changed] [open/closed] [#duration [ticks/seconds/minutes/hours]] [partial] [quiet] [continue]>Waits until a specific window comes to the front or goes away.
"Window name"Name of the window to wait for.dialogWaits for a dialog window.changed?Waits until the frontmost window is closed or sent to the back.open.Waits until the specified window is frontmost.closed?Waits until the specified window is closed or sent to the back. #durationnAmount of time to wait for the specified window before giving up. Time is in ticks unless otherwise specified.ticksPSpecifies one-sixtieth of a second as the time unit for the #duration parameter.seconds?Specifies seconds as the time unit for the #duration parameter.minutes?Specifies minutes as the time unit for the #duration parameter.hours=Specifies hours as the time unit for the #duration parameter.partial,Accepts a partial match for the window name.quiet<Doesn’t show an error message if the timeout period expires.continue5Doesn’t stop the macro if the timeout period expires.